package com.situ.fly.service;

import java.util.List;

import com.situ.fly.entity.Answer;

public interface AnswerService {

	int add(Answer answer);

	List getByQid(Integer qid, Integer uid);

	List getByUid(Integer id);

	Answer getById(Integer id);

	int edit(Answer answer);

	int delete(Answer answer);

	int accept(Answer answer);

	int like(Integer id, Integer uid, Boolean ok);
}
